package cn.haohaowo.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {
	
	public static final String NEW ="1";
	public static final String SHIPPING ="2";
	public static final String COMPLETED ="3";
	public static final String CANCEL ="4";
	
	private static final long serialVersionUID = -5710030826277119935L;
	
	private int id;
	private Integer accountId;
	private String number;
	private Integer totalPrice;
	private String receiver;
	private String mobile;
	private String shippingAddress;
	private String zipCode;
	private String deliveryType;
	private Integer deliveryFee;
	private String deliveryTime;
	private String paymentType;
	private String status;
	private Date createdAt;
	
	private List<OrderDetail> orderDetailList = new ArrayList<OrderDetail>();
	private Account account;;
	
}
